package org.crystal.tradecraft.model.binance.market.filter;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.crystal.tradecraft.model.binance.enumeration.FilterType;

/**
 * <h3>MAX_NUM_ALGO_ORDERS 最多条件单数</h3>
 * MAX_NUM_ALGO_ORDERS过滤器定义允许账户在交易对上开设的"algo"订单的最大数量。<p>
 * "Algo"订单是STOP_LOSS，STOP_LOSS_LIMIT，TAKE_PROFIT和TAKE_PROFIT_LIMIT止盈止损单。
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MaxNumAlgoOrders extends BinanceFilter {

    public MaxNumAlgoOrders() {
        super(FilterType.MAX_NUM_ALGO_ORDERS);
    }

    private int maxNumAlgoOrders;
}
